#ifndef JBK_THREAD_MUTEX_H
#define JBK_THREAD_MUTEX_H

#include <pthread.h>

class Mutex {
public:
	/* ctor */
	Mutex();

	/* dtor */
	~Mutex();

	/* lock */
	void lock();

	/* unlock */
	void unlock();

private:
	pthread_mutex_t _mutex; /* pthread mutex */
};

#endif // JBK_THREAD_MUTEX_H

